package com.ruowei.modules.foodOrder.web.dto;

import com.ruowei.modules.foodOrder.domain.enumeration.OrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;

@Data
public class OrderSpecDTO {
    @ApiModelProperty(value = "订单编码")
    private String orderCode;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

    @ApiModelProperty(value = "收货人地址")
    private String receiverAddress;

    @ApiModelProperty(value = "状态")
    private OrderStatus status;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "下单时间")
    private Instant createTime;

    @ApiModelProperty(value = "商家接单时间")
    private Instant merchantReceiveTime;

    @ApiModelProperty(value = "配送员姓名")
    private String courierName;

    @ApiModelProperty(value = "配送员电话")
    private String courierPhone;

    @ApiModelProperty(value = "配送员接单时间")
    private Instant courierReceiveTime;

    @ApiModelProperty(value = "送达时间")
    private Instant receiveTime;

    @ApiModelProperty(value = "订单备注")
    private String remark;

    @ApiModelProperty(value = "退货原因")
    private String reason;

    @ApiModelProperty(value = "申请时间")
    private Instant time;

    @ApiModelProperty(value = "处理时间")
    private Instant handleTime;

    @ApiModelProperty(value = "商品列表")
    private List<GoodsListDTO> goodsList;
}
